package com.zzr.zzrbackend.service;

import com.zzr.zzrbackend.pojo.dto.CommonResult;
import com.zzr.zzrbackend.pojo.dto.param.*;
import com.zzr.zzrbackend.pojo.dto.result.*;
import jakarta.servlet.http.HttpServletRequest;


public interface HomeInterfaceService {
    CommonResult<InterfaceResult> childHome(InterfaceParam interfaceParam);

    CommonResult<HomeListResult> childList(HomeListParam homeListParam);

    CommonResult<BookTextResult> bookText(BookTextParam bookTextParam);

    CommonResult<BookTextResult> bookDetail(HomeListParam homeListParam);

    CommonResult<BookPlayResult> bookPlay(BookPlayParam bookPlayParam);

    CommonResult<HomeInformationResult> getHomeInformation(HttpServletRequest request);

    CommonResult<InterfaceResult> recommendBook(HttpServletRequest request);

    CommonResult<NoData> setScore(SetScoreParam setScoreParam);

    CommonResult<IsEvaluationResult> isEvaluation();
}
